<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>Document | canvg</title>
	<meta name="description" content="Documentation for canvg">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">canvg</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_src_document_document_.html">&quot;src/Document/Document&quot;</a>
				</li>
				<li>
					<a href="_src_document_document_.document.html">Document</a>
				</li>
			</ul>
			<h1>Class Document</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">Document</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="_src_document_document_.document.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_src_document_document_.document.html#canvg" class="tsd-kind-icon">canvg</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_src_document_document_.document.html#createcanvas" class="tsd-kind-icon">create<wbr>Canvas</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_src_document_document_.document.html#createimage" class="tsd-kind-icon">create<wbr>Image</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_src_document_document_.document.html#definitions" class="tsd-kind-icon">definitions</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_src_document_document_.document.html#documentelement" class="tsd-kind-icon">document<wbr>Element</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_src_document_document_.document.html#emsizestack" class="tsd-kind-icon">em<wbr>Size<wbr>Stack</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_src_document_document_.document.html#fonts" class="tsd-kind-icon">fonts</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_src_document_document_.document.html#images" class="tsd-kind-icon">images</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_src_document_document_.document.html#rootemsize" class="tsd-kind-icon">root<wbr>EmSize</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_src_document_document_.document.html#screen" class="tsd-kind-icon">screen</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_src_document_document_.document.html#styles" class="tsd-kind-icon">styles</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_src_document_document_.document.html#stylesspecificity" class="tsd-kind-icon">styles<wbr>Specificity</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_src_document_document_.document.html#uniqueid" class="tsd-kind-icon">unique<wbr>Id</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_src_document_document_.document.html#createcanvas-1" class="tsd-kind-icon">create<wbr>Canvas</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_src_document_document_.document.html#createimage-1" class="tsd-kind-icon">create<wbr>Image</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_src_document_document_.document.html#elementtypes" class="tsd-kind-icon">element<wbr>Types</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Accessors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="_src_document_document_.document.html#ctx" class="tsd-kind-icon">ctx</a></li>
								<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_src_document_document_.document.html#emsize" class="tsd-kind-icon">em<wbr>Size</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="_src_document_document_.document.html#fetch" class="tsd-kind-icon">fetch</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="_src_document_document_.document.html#window" class="tsd-kind-icon">window</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="_src_document_document_.document.html#bindcreateimage" class="tsd-kind-icon">bind<wbr>Create<wbr>Image</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_src_document_document_.document.html#createdocumentelement" class="tsd-kind-icon">create<wbr>Document<wbr>Element</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter"><a href="_src_document_document_.document.html#createelement" class="tsd-kind-icon">create<wbr>Element</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_src_document_document_.document.html#createtextnode" class="tsd-kind-icon">create<wbr>Text<wbr>Node</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_src_document_document_.document.html#getuniqueid" class="tsd-kind-icon">get<wbr>Unique<wbr>Id</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_src_document_document_.document.html#isfontsloaded" class="tsd-kind-icon">is<wbr>Fonts<wbr>Loaded</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_src_document_document_.document.html#isimagesloaded" class="tsd-kind-icon">is<wbr>Images<wbr>Loaded</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_src_document_document_.document.html#popemsize" class="tsd-kind-icon">pop<wbr>EmSize</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_src_document_document_.document.html#setviewbox" class="tsd-kind-icon">set<wbr>View<wbr>Box</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Document<span class="tsd-signature-symbol">(</span>canvg<span class="tsd-signature-symbol">: </span><a href="_src_canvg_.canvg.html" class="tsd-signature-type">Canvg</a>, __namedParameters<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>anonymousCrossOrigin<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>createCanvas<span class="tsd-signature-symbol">: </span><a href="../modules/_src_document_document_.html#createcanvas" class="tsd-signature-type">CreateCanvas</a><span class="tsd-signature-symbol">; </span>createImage<span class="tsd-signature-symbol">: </span><a href="../modules/_src_document_document_.html#createimage" class="tsd-signature-type">CreateImage</a><span class="tsd-signature-symbol">; </span>emSize<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>rootEmSize<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_src_document_document_.document.html" class="tsd-signature-type">Document</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L97">src/Document/Document.ts:97</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>canvg: <a href="_src_canvg_.canvg.html" class="tsd-signature-type">Canvg</a></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> __namedParameters: <span class="tsd-signature-symbol">{ </span>anonymousCrossOrigin<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>createCanvas<span class="tsd-signature-symbol">: </span><a href="../modules/_src_document_document_.html#createcanvas" class="tsd-signature-type">CreateCanvas</a><span class="tsd-signature-symbol">; </span>createImage<span class="tsd-signature-symbol">: </span><a href="../modules/_src_document_document_.html#createimage" class="tsd-signature-type">CreateImage</a><span class="tsd-signature-symbol">; </span>emSize<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>rootEmSize<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = {}</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter">
											<h5>anonymous<wbr>Cross<wbr>Origin<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></h5>
										</li>
										<li class="tsd-parameter">
											<h5>create<wbr>Canvas<span class="tsd-signature-symbol">: </span><a href="../modules/_src_document_document_.html#createcanvas" class="tsd-signature-type">CreateCanvas</a></h5>
										</li>
										<li class="tsd-parameter">
											<h5>create<wbr>Image<span class="tsd-signature-symbol">: </span><a href="../modules/_src_document_document_.html#createimage" class="tsd-signature-type">CreateImage</a></h5>
										</li>
										<li class="tsd-parameter">
											<h5>em<wbr>Size<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
										</li>
										<li class="tsd-parameter">
											<h5>root<wbr>EmSize<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_src_document_document_.document.html" class="tsd-signature-type">Document</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="canvg" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagReadonly">Readonly</span> canvg</h3>
					<div class="tsd-signature tsd-kind-icon">canvg<span class="tsd-signature-symbol">:</span> <a href="_src_canvg_.canvg.html" class="tsd-signature-type">Canvg</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L100">src/Document/Document.ts:100</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="createcanvas" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagReadonly">Readonly</span> create<wbr>Canvas</h3>
					<div class="tsd-signature tsd-kind-icon">create<wbr>Canvas<span class="tsd-signature-symbol">:</span> <a href="../modules/_src_document_document_.html#createcanvas" class="tsd-signature-type">CreateCanvas</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L89">src/Document/Document.ts:89</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="createimage" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagReadonly">Readonly</span> create<wbr>Image</h3>
					<div class="tsd-signature tsd-kind-icon">create<wbr>Image<span class="tsd-signature-symbol">:</span> <a href="../modules/_src_document_document_.html#createimage" class="tsd-signature-type">CreateImage</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L90">src/Document/Document.ts:90</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="definitions" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagReadonly">Readonly</span> definitions</h3>
					<div class="tsd-signature tsd-kind-icon">definitions<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_src_document_element_.element.html" class="tsd-signature-type">Element</a><span class="tsd-signature-symbol">&gt;</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L91">src/Document/Document.ts:91</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="documentelement" class="tsd-anchor"></a>
					<h3>document<wbr>Element</h3>
					<div class="tsd-signature tsd-kind-icon">document<wbr>Element<span class="tsd-signature-symbol">:</span> <a href="_src_document_svgelement_.svgelement.html" class="tsd-signature-type">SVGElement</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L87">src/Document/Document.ts:87</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
					<a name="emsizestack" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagPrivate">Private</span> <span class="tsd-flag ts-flagReadonly">Readonly</span> em<wbr>Size<wbr>Stack</h3>
					<div class="tsd-signature tsd-kind-icon">em<wbr>Size<wbr>Stack<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L96">src/Document/Document.ts:96</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="fonts" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagReadonly">Readonly</span> fonts</h3>
					<div class="tsd-signature tsd-kind-icon">fonts<span class="tsd-signature-symbol">:</span> <a href="_src_svgfontloader_.svgfontloader.html" class="tsd-signature-type">SVGFontLoader</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L95">src/Document/Document.ts:95</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="images" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagReadonly">Readonly</span> images</h3>
					<div class="tsd-signature tsd-kind-icon">images<span class="tsd-signature-symbol">:</span> <a href="_src_document_imageelement_.imageelement.html" class="tsd-signature-type">ImageElement</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L94">src/Document/Document.ts:94</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="rootemsize" class="tsd-anchor"></a>
					<h3>root<wbr>EmSize</h3>
					<div class="tsd-signature tsd-kind-icon">root<wbr>EmSize<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L86">src/Document/Document.ts:86</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="screen" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagReadonly">Readonly</span> screen</h3>
					<div class="tsd-signature tsd-kind-icon">screen<span class="tsd-signature-symbol">:</span> <a href="_src_screen_.screen.html" class="tsd-signature-type">Screen</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L88">src/Document/Document.ts:88</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="styles" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagReadonly">Readonly</span> styles</h3>
					<div class="tsd-signature tsd-kind-icon">styles<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_src_property_.property.html" class="tsd-signature-type">Property</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L92">src/Document/Document.ts:92</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="stylesspecificity" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagReadonly">Readonly</span> styles<wbr>Specificity</h3>
					<div class="tsd-signature tsd-kind-icon">styles<wbr>Specificity<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L93">src/Document/Document.ts:93</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
					<a name="uniqueid" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagPrivate">Private</span> unique<wbr>Id</h3>
					<div class="tsd-signature tsd-kind-icon">unique<wbr>Id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L97">src/Document/Document.ts:97</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="createcanvas-1" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> <span class="tsd-flag ts-flagReadonly">Readonly</span> create<wbr>Canvas</h3>
					<div class="tsd-signature tsd-kind-icon">create<wbr>Canvas<span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type">createCanvas</a><span class="tsd-signature-symbol"> = createCanvas</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L82">src/Document/Document.ts:82</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="createimage-1" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> <span class="tsd-flag ts-flagReadonly">Readonly</span> create<wbr>Image</h3>
					<div class="tsd-signature tsd-kind-icon">create<wbr>Image<span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type">createImage</a><span class="tsd-signature-symbol"> = createImage</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L83">src/Document/Document.ts:83</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="elementtypes" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> <span class="tsd-flag ts-flagReadonly">Readonly</span> element<wbr>Types</h3>
					<div class="tsd-signature tsd-kind-icon">element<wbr>Types<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>a<span class="tsd-signature-symbol">: </span><a href="_src_document_aelement_.aelement.html" class="tsd-signature-type">AElement</a><span class="tsd-signature-symbol">; </span>animate<span class="tsd-signature-symbol">: </span><a href="_src_document_animateelement_.animateelement.html" class="tsd-signature-type">AnimateElement</a><span class="tsd-signature-symbol">; </span>animateColor<span class="tsd-signature-symbol">: </span><a href="_src_document_animatecolorelement_.animatecolorelement.html" class="tsd-signature-type">AnimateColorElement</a><span class="tsd-signature-symbol">; </span>animateTransform<span class="tsd-signature-symbol">: </span><a href="_src_document_animatetransformelement_.animatetransformelement.html" class="tsd-signature-type">AnimateTransformElement</a><span class="tsd-signature-symbol">; </span>circle<span class="tsd-signature-symbol">: </span><a href="_src_document_circleelement_.circleelement.html" class="tsd-signature-type">CircleElement</a><span class="tsd-signature-symbol">; </span>clipPath<span class="tsd-signature-symbol">: </span><a href="_src_document_clippathelement_.clippathelement.html" class="tsd-signature-type">ClipPathElement</a><span class="tsd-signature-symbol">; </span>defs<span class="tsd-signature-symbol">: </span><a href="_src_document_defselement_.defselement.html" class="tsd-signature-type">DefsElement</a><span class="tsd-signature-symbol">; </span>desc<span class="tsd-signature-symbol">: </span><a href="_src_document_descelement_.descelement.html" class="tsd-signature-type">DescElement</a><span class="tsd-signature-symbol">; </span>ellipse<span class="tsd-signature-symbol">: </span><a href="_src_document_ellipseelement_.ellipseelement.html" class="tsd-signature-type">EllipseElement</a><span class="tsd-signature-symbol">; </span>feColorMatrix<span class="tsd-signature-symbol">: </span><a href="_src_document_fecolormatrixelement_.fecolormatrixelement.html" class="tsd-signature-type">FeColorMatrixElement</a><span class="tsd-signature-symbol">; </span>feComposite<span class="tsd-signature-symbol">: </span><a href="_src_document_fecompositeelement_.fecompositeelement.html" class="tsd-signature-type">FeCompositeElement</a><span class="tsd-signature-symbol">; </span>feDropShadow<span class="tsd-signature-symbol">: </span><a href="_src_document_fedropshadowelement_.fedropshadowelement.html" class="tsd-signature-type">FeDropShadowElement</a><span class="tsd-signature-symbol">; </span>feGaussianBlur<span class="tsd-signature-symbol">: </span><a href="_src_document_fegaussianblurelement_.fegaussianblurelement.html" class="tsd-signature-type">FeGaussianBlurElement</a><span class="tsd-signature-symbol">; </span>feMorphology<span class="tsd-signature-symbol">: </span><a href="_src_document_femorphologyelement_.femorphologyelement.html" class="tsd-signature-type">FeMorphologyElement</a><span class="tsd-signature-symbol">; </span>filter<span class="tsd-signature-symbol">: </span><a href="_src_document_filterelement_.filterelement.html" class="tsd-signature-type">FilterElement</a><span class="tsd-signature-symbol">; </span>font<span class="tsd-signature-symbol">: </span><a href="_src_document_fontelement_.fontelement.html" class="tsd-signature-type">FontElement</a><span class="tsd-signature-symbol">; </span>font-face<span class="tsd-signature-symbol">: </span><a href="_src_document_fontfaceelement_.fontfaceelement.html" class="tsd-signature-type">FontFaceElement</a><span class="tsd-signature-symbol">; </span>g<span class="tsd-signature-symbol">: </span><a href="_src_document_gelement_.gelement.html" class="tsd-signature-type">GElement</a><span class="tsd-signature-symbol">; </span>glyph<span class="tsd-signature-symbol">: </span><a href="_src_document_glyphelement_.glyphelement.html" class="tsd-signature-type">GlyphElement</a><span class="tsd-signature-symbol">; </span>image<span class="tsd-signature-symbol">: </span><a href="_src_document_imageelement_.imageelement.html" class="tsd-signature-type">ImageElement</a><span class="tsd-signature-symbol">; </span>line<span class="tsd-signature-symbol">: </span><a href="_src_document_lineelement_.lineelement.html" class="tsd-signature-type">LineElement</a><span class="tsd-signature-symbol">; </span>linearGradient<span class="tsd-signature-symbol">: </span><a href="_src_document_lineargradientelement_.lineargradientelement.html" class="tsd-signature-type">LinearGradientElement</a><span class="tsd-signature-symbol">; </span>marker<span class="tsd-signature-symbol">: </span><a href="_src_document_markerelement_.markerelement.html" class="tsd-signature-type">MarkerElement</a><span class="tsd-signature-symbol">; </span>mask<span class="tsd-signature-symbol">: </span><a href="_src_document_maskelement_.maskelement.html" class="tsd-signature-type">MaskElement</a><span class="tsd-signature-symbol">; </span>missing-glyph<span class="tsd-signature-symbol">: </span><a href="_src_document_missingglyphelement_.missingglyphelement.html" class="tsd-signature-type">MissingGlyphElement</a><span class="tsd-signature-symbol">; </span>path<span class="tsd-signature-symbol">: </span><a href="_src_document_pathelement_.pathelement.html" class="tsd-signature-type">PathElement</a><span class="tsd-signature-symbol">; </span>pattern<span class="tsd-signature-symbol">: </span><a href="_src_document_patternelement_.patternelement.html" class="tsd-signature-type">PatternElement</a><span class="tsd-signature-symbol">; </span>polygon<span class="tsd-signature-symbol">: </span><a href="_src_document_polygonelement_.polygonelement.html" class="tsd-signature-type">PolygonElement</a><span class="tsd-signature-symbol">; </span>polyline<span class="tsd-signature-symbol">: </span><a href="_src_document_polylineelement_.polylineelement.html" class="tsd-signature-type">PolylineElement</a><span class="tsd-signature-symbol">; </span>radialGradient<span class="tsd-signature-symbol">: </span><a href="_src_document_radialgradientelement_.radialgradientelement.html" class="tsd-signature-type">RadialGradientElement</a><span class="tsd-signature-symbol">; </span>rect<span class="tsd-signature-symbol">: </span><a href="_src_document_rectelement_.rectelement.html" class="tsd-signature-type">RectElement</a><span class="tsd-signature-symbol">; </span>stop<span class="tsd-signature-symbol">: </span><a href="_src_document_stopelement_.stopelement.html" class="tsd-signature-type">StopElement</a><span class="tsd-signature-symbol">; </span>style<span class="tsd-signature-symbol">: </span><a href="_src_document_styleelement_.styleelement.html" class="tsd-signature-type">StyleElement</a><span class="tsd-signature-symbol">; </span>svg<span class="tsd-signature-symbol">: </span><a href="_src_document_svgelement_.svgelement.html" class="tsd-signature-type">SVGElement</a><span class="tsd-signature-symbol">; </span>symbol<span class="tsd-signature-symbol">: </span><a href="_src_document_symbolelement_.symbolelement.html" class="tsd-signature-type">SymbolElement</a><span class="tsd-signature-symbol">; </span>text<span class="tsd-signature-symbol">: </span><a href="_src_document_textelement_.textelement.html" class="tsd-signature-type">TextElement</a><span class="tsd-signature-symbol">; </span>textPath<span class="tsd-signature-symbol">: </span><a href="_src_document_textpathelement_.textpathelement.html" class="tsd-signature-type">TextPathElement</a><span class="tsd-signature-symbol">; </span>title<span class="tsd-signature-symbol">: </span><a href="_src_document_titleelement_.titleelement.html" class="tsd-signature-type">TitleElement</a><span class="tsd-signature-symbol">; </span>tref<span class="tsd-signature-symbol">: </span><a href="_src_document_trefelement_.trefelement.html" class="tsd-signature-type">TRefElement</a><span class="tsd-signature-symbol">; </span>tspan<span class="tsd-signature-symbol">: </span><a href="_src_document_tspanelement_.tspanelement.html" class="tsd-signature-type">TSpanElement</a><span class="tsd-signature-symbol">; </span>use<span class="tsd-signature-symbol">: </span><a href="_src_document_useelement_.useelement.html" class="tsd-signature-type">UseElement</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = elementTypes</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L84">src/Document/Document.ts:84</a></li>
						</ul>
					</aside>
					<div class="tsd-type-declaration">
						<h4>Type declaration</h4>
						<ul class="tsd-parameters">
							<li class="tsd-parameter">
								<h5>a<span class="tsd-signature-symbol">: </span><a href="_src_document_aelement_.aelement.html" class="tsd-signature-type">AElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>animate<span class="tsd-signature-symbol">: </span><a href="_src_document_animateelement_.animateelement.html" class="tsd-signature-type">AnimateElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>animate<wbr>Color<span class="tsd-signature-symbol">: </span><a href="_src_document_animatecolorelement_.animatecolorelement.html" class="tsd-signature-type">AnimateColorElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>animate<wbr>Transform<span class="tsd-signature-symbol">: </span><a href="_src_document_animatetransformelement_.animatetransformelement.html" class="tsd-signature-type">AnimateTransformElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>circle<span class="tsd-signature-symbol">: </span><a href="_src_document_circleelement_.circleelement.html" class="tsd-signature-type">CircleElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>clip<wbr>Path<span class="tsd-signature-symbol">: </span><a href="_src_document_clippathelement_.clippathelement.html" class="tsd-signature-type">ClipPathElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>defs<span class="tsd-signature-symbol">: </span><a href="_src_document_defselement_.defselement.html" class="tsd-signature-type">DefsElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>desc<span class="tsd-signature-symbol">: </span><a href="_src_document_descelement_.descelement.html" class="tsd-signature-type">DescElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>ellipse<span class="tsd-signature-symbol">: </span><a href="_src_document_ellipseelement_.ellipseelement.html" class="tsd-signature-type">EllipseElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>fe<wbr>Color<wbr>Matrix<span class="tsd-signature-symbol">: </span><a href="_src_document_fecolormatrixelement_.fecolormatrixelement.html" class="tsd-signature-type">FeColorMatrixElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>fe<wbr>Composite<span class="tsd-signature-symbol">: </span><a href="_src_document_fecompositeelement_.fecompositeelement.html" class="tsd-signature-type">FeCompositeElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>fe<wbr>Drop<wbr>Shadow<span class="tsd-signature-symbol">: </span><a href="_src_document_fedropshadowelement_.fedropshadowelement.html" class="tsd-signature-type">FeDropShadowElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>fe<wbr>Gaussian<wbr>Blur<span class="tsd-signature-symbol">: </span><a href="_src_document_fegaussianblurelement_.fegaussianblurelement.html" class="tsd-signature-type">FeGaussianBlurElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>fe<wbr>Morphology<span class="tsd-signature-symbol">: </span><a href="_src_document_femorphologyelement_.femorphologyelement.html" class="tsd-signature-type">FeMorphologyElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>filter<span class="tsd-signature-symbol">: </span><a href="_src_document_filterelement_.filterelement.html" class="tsd-signature-type">FilterElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>font<span class="tsd-signature-symbol">: </span><a href="_src_document_fontelement_.fontelement.html" class="tsd-signature-type">FontElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>font-<wbr>face<span class="tsd-signature-symbol">: </span><a href="_src_document_fontfaceelement_.fontfaceelement.html" class="tsd-signature-type">FontFaceElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>g<span class="tsd-signature-symbol">: </span><a href="_src_document_gelement_.gelement.html" class="tsd-signature-type">GElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>glyph<span class="tsd-signature-symbol">: </span><a href="_src_document_glyphelement_.glyphelement.html" class="tsd-signature-type">GlyphElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>image<span class="tsd-signature-symbol">: </span><a href="_src_document_imageelement_.imageelement.html" class="tsd-signature-type">ImageElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>line<span class="tsd-signature-symbol">: </span><a href="_src_document_lineelement_.lineelement.html" class="tsd-signature-type">LineElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>linear<wbr>Gradient<span class="tsd-signature-symbol">: </span><a href="_src_document_lineargradientelement_.lineargradientelement.html" class="tsd-signature-type">LinearGradientElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>marker<span class="tsd-signature-symbol">: </span><a href="_src_document_markerelement_.markerelement.html" class="tsd-signature-type">MarkerElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>mask<span class="tsd-signature-symbol">: </span><a href="_src_document_maskelement_.maskelement.html" class="tsd-signature-type">MaskElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>missing-<wbr>glyph<span class="tsd-signature-symbol">: </span><a href="_src_document_missingglyphelement_.missingglyphelement.html" class="tsd-signature-type">MissingGlyphElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>path<span class="tsd-signature-symbol">: </span><a href="_src_document_pathelement_.pathelement.html" class="tsd-signature-type">PathElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>pattern<span class="tsd-signature-symbol">: </span><a href="_src_document_patternelement_.patternelement.html" class="tsd-signature-type">PatternElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>polygon<span class="tsd-signature-symbol">: </span><a href="_src_document_polygonelement_.polygonelement.html" class="tsd-signature-type">PolygonElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>polyline<span class="tsd-signature-symbol">: </span><a href="_src_document_polylineelement_.polylineelement.html" class="tsd-signature-type">PolylineElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>radial<wbr>Gradient<span class="tsd-signature-symbol">: </span><a href="_src_document_radialgradientelement_.radialgradientelement.html" class="tsd-signature-type">RadialGradientElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>rect<span class="tsd-signature-symbol">: </span><a href="_src_document_rectelement_.rectelement.html" class="tsd-signature-type">RectElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>stop<span class="tsd-signature-symbol">: </span><a href="_src_document_stopelement_.stopelement.html" class="tsd-signature-type">StopElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>style<span class="tsd-signature-symbol">: </span><a href="_src_document_styleelement_.styleelement.html" class="tsd-signature-type">StyleElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>svg<span class="tsd-signature-symbol">: </span><a href="_src_document_svgelement_.svgelement.html" class="tsd-signature-type">SVGElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>symbol<span class="tsd-signature-symbol">: </span><a href="_src_document_symbolelement_.symbolelement.html" class="tsd-signature-type">SymbolElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>text<span class="tsd-signature-symbol">: </span><a href="_src_document_textelement_.textelement.html" class="tsd-signature-type">TextElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>text<wbr>Path<span class="tsd-signature-symbol">: </span><a href="_src_document_textpathelement_.textpathelement.html" class="tsd-signature-type">TextPathElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>title<span class="tsd-signature-symbol">: </span><a href="_src_document_titleelement_.titleelement.html" class="tsd-signature-type">TitleElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>tref<span class="tsd-signature-symbol">: </span><a href="_src_document_trefelement_.trefelement.html" class="tsd-signature-type">TRefElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>tspan<span class="tsd-signature-symbol">: </span><a href="_src_document_tspanelement_.tspanelement.html" class="tsd-signature-type">TSpanElement</a></h5>
							</li>
							<li class="tsd-parameter">
								<h5>use<span class="tsd-signature-symbol">: </span><a href="_src_document_useelement_.useelement.html" class="tsd-signature-type">UseElement</a></h5>
							</li>
						</ul>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Accessors</h2>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="ctx" class="tsd-anchor"></a>
					<h3>ctx</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> ctx<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_src_types_.html#renderingcontext2d" class="tsd-signature-type">RenderingContext2D</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L143">src/Document/Document.ts:143</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <a href="../modules/_src_types_.html#renderingcontext2d" class="tsd-signature-type">RenderingContext2D</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class">
					<a name="emsize" class="tsd-anchor"></a>
					<h3>em<wbr>Size</h3>
					<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> emSize<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> emSize<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L147">src/Document/Document.ts:147</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L156">src/Document/Document.ts:156</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>value: <span class="tsd-signature-type">number</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="fetch" class="tsd-anchor"></a>
					<h3>fetch</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> fetch<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="" class="tsd-signature-type">fetch</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L139">src/Document/Document.ts:139</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type">fetch</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="window" class="tsd-anchor"></a>
					<h3>window</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> window<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Window</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L135">src/Document/Document.ts:135</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Window</span></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private">
					<a name="bindcreateimage" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagPrivate">Private</span> bind<wbr>Create<wbr>Image</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
						<li class="tsd-signature tsd-kind-icon">bind<wbr>Create<wbr>Image<span class="tsd-signature-symbol">(</span>createImage<span class="tsd-signature-symbol">: </span><a href="../modules/_src_document_document_.html#createimage" class="tsd-signature-type">CreateImage</a>, anonymousCrossOrigin<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_src_document_document_.html#createimage" class="tsd-signature-type">CreateImage</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L120">src/Document/Document.ts:120</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>createImage: <a href="../modules/_src_document_document_.html#createimage" class="tsd-signature-type">CreateImage</a></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> anonymousCrossOrigin: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../modules/_src_document_document_.html#createimage" class="tsd-signature-type">CreateImage</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="createdocumentelement" class="tsd-anchor"></a>
					<h3>create<wbr>Document<wbr>Element</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">create<wbr>Document<wbr>Element<span class="tsd-signature-symbol">(</span>document<span class="tsd-signature-symbol">: </span><a href="../modules/_src_document_document_.html#domdocument" class="tsd-signature-type">DOMDocument</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_src_document_svgelement_.svgelement.html" class="tsd-signature-type">SVGElement</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L186">src/Document/Document.ts:186</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>document: <a href="../modules/_src_document_document_.html#domdocument" class="tsd-signature-type">DOMDocument</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_src_document_svgelement_.svgelement.html" class="tsd-signature-type">SVGElement</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
					<a name="createelement" class="tsd-anchor"></a>
					<h3>create<wbr>Element</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
						<li class="tsd-signature tsd-kind-icon">create<wbr>Element&lt;T&gt;<span class="tsd-signature-symbol">(</span>node<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L198">src/Document/Document.ts:198</a></li>
								</ul>
							</aside>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>T<span class="tsd-signature-symbol">: </span><a href="_src_document_element_.element.html" class="tsd-signature-type">Element</a></h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>node: <span class="tsd-signature-type">HTMLElement</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">T</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="createtextnode" class="tsd-anchor"></a>
					<h3>create<wbr>Text<wbr>Node</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">create<wbr>Text<wbr>Node<span class="tsd-signature-symbol">(</span>node<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_src_document_textnode_.textnode.html" class="tsd-signature-type">TextNode</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L210">src/Document/Document.ts:210</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>node: <span class="tsd-signature-type">HTMLElement</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_src_document_textnode_.textnode.html" class="tsd-signature-type">TextNode</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getuniqueid" class="tsd-anchor"></a>
					<h3>get<wbr>Unique<wbr>Id</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Unique<wbr>Id<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L174">src/Document/Document.ts:174</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="isfontsloaded" class="tsd-anchor"></a>
					<h3>is<wbr>Fonts<wbr>Loaded</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Fonts<wbr>Loaded<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L182">src/Document/Document.ts:182</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="isimagesloaded" class="tsd-anchor"></a>
					<h3>is<wbr>Images<wbr>Loaded</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Images<wbr>Loaded<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L178">src/Document/Document.ts:178</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="popemsize" class="tsd-anchor"></a>
					<h3>pop<wbr>EmSize</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">pop<wbr>EmSize<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L165">src/Document/Document.ts:165</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setviewbox" class="tsd-anchor"></a>
					<h3>set<wbr>View<wbr>Box</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>View<wbr>Box<span class="tsd-signature-symbol">(</span>config<span class="tsd-signature-symbol">: </span><a href="../modules/_src_document_document_.html#iviewboxconfig" class="tsd-signature-type">IViewBoxConfig</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/canvg/canvg/blob/68276f5/src/Document/Document.ts#L214">src/Document/Document.ts:214</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>config: <a href="../modules/_src_document_document_.html#iviewboxconfig" class="tsd-signature-type">IViewBoxConfig</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/_src_document_document_.html">&quot;src/<wbr>Document/<wbr>Document&quot;</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-module">
						<a href="_src_document_document_.document.html" class="tsd-kind-icon">Document</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#canvg" class="tsd-kind-icon">canvg</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#createcanvas" class="tsd-kind-icon">create<wbr>Canvas</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#createimage" class="tsd-kind-icon">create<wbr>Image</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#definitions" class="tsd-kind-icon">definitions</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#documentelement" class="tsd-kind-icon">document<wbr>Element</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
								<a href="_src_document_document_.document.html#emsizestack" class="tsd-kind-icon">em<wbr>Size<wbr>Stack</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#fonts" class="tsd-kind-icon">fonts</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#images" class="tsd-kind-icon">images</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#rootemsize" class="tsd-kind-icon">root<wbr>EmSize</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#screen" class="tsd-kind-icon">screen</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#styles" class="tsd-kind-icon">styles</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#stylesspecificity" class="tsd-kind-icon">styles<wbr>Specificity</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
								<a href="_src_document_document_.document.html#uniqueid" class="tsd-kind-icon">unique<wbr>Id</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_src_document_document_.document.html#createcanvas-1" class="tsd-kind-icon">create<wbr>Canvas</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_src_document_document_.document.html#createimage-1" class="tsd-kind-icon">create<wbr>Image</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_src_document_document_.document.html#elementtypes" class="tsd-kind-icon">element<wbr>Types</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#ctx" class="tsd-kind-icon">ctx</a>
							</li>
							<li class=" tsd-kind-accessor tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#emsize" class="tsd-kind-icon">em<wbr>Size</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#fetch" class="tsd-kind-icon">fetch</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#window" class="tsd-kind-icon">window</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
								<a href="_src_document_document_.document.html#bindcreateimage" class="tsd-kind-icon">bind<wbr>Create<wbr>Image</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#createdocumentelement" class="tsd-kind-icon">create<wbr>Document<wbr>Element</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
								<a href="_src_document_document_.document.html#createelement" class="tsd-kind-icon">create<wbr>Element</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#createtextnode" class="tsd-kind-icon">create<wbr>Text<wbr>Node</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#getuniqueid" class="tsd-kind-icon">get<wbr>Unique<wbr>Id</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#isfontsloaded" class="tsd-kind-icon">is<wbr>Fonts<wbr>Loaded</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#isimagesloaded" class="tsd-kind-icon">is<wbr>Images<wbr>Loaded</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#popemsize" class="tsd-kind-icon">pop<wbr>EmSize</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_src_document_document_.document.html#setviewbox" class="tsd-kind-icon">set<wbr>View<wbr>Box</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_document_document_.idocumentoptions.html" class="tsd-kind-icon">IDocument<wbr>Options</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module">
						<a href="../modules/_src_document_document_.html#createcanvas" class="tsd-kind-icon">Create<wbr>Canvas</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module">
						<a href="../modules/_src_document_document_.html#createimage" class="tsd-kind-icon">Create<wbr>Image</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_src_document_document_.html#domdocument" class="tsd-kind-icon">DOMDocument</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module">
						<a href="../modules/_src_document_document_.html#iviewboxconfig" class="tsd-kind-icon">IView<wbr>Box<wbr>Config</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_src_document_document_.html#createcanvas-1" class="tsd-kind-icon">create<wbr>Canvas</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_src_document_document_.html#createimage-1" class="tsd-kind-icon">create<wbr>Image</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>